package com.example.ktapplication.state

import com.example.ktapplication.bean.LoginBean

sealed class LoginState {
    //成功
    data class OnSuccess(var login: LoginBean?) : LoginState()
    //失败
    data class OnError(var exception: Throwable?) : LoginState()
}